package com.dcbeida.bean;

import java.io.Serializable;

/**
 * Created by fancl
 * 患者
 */
public class Patient implements Serializable {

    private int id;//编号

    private String truename;//姓名

    private String idcardnum;//身份证号

    private String phonenum;//手机号

    private int cardtype;


    private int signstatus;//知情同意书签署状态
    private int shopid;//添加药店
    private int isourshopadd;//是否为本店添加

    public int getSignstatus() {
        return signstatus;
    }

    public void setSignstatus(int signstatus) {
        this.signstatus = signstatus;
    }

    public int getShopid() {
        return shopid;
    }

    public void setShopid(int shopid) {
        this.shopid = shopid;
    }

    public int getIsourshopadd() {
        return isourshopadd;
    }

    public void setIsourshopadd(int isourshopadd) {
        this.isourshopadd = isourshopadd;
    }

    private int hospitalid;//医院id

    private String hospitalname;//医院名称

    public int getHospitalid() {
        return hospitalid;
    }

    public void setHospitalid(int hospitalid) {
        this.hospitalid = hospitalid;
    }

    public String getHospitalname() {
        return hospitalname;
    }

    public void setHospitalname(String hospitalname) {
        this.hospitalname = hospitalname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIdcardnum() {
        return idcardnum;
    }

    public void setIdcardnum(String idcardnum) {
        this.idcardnum = idcardnum;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public int getCardtype() {
        return cardtype;
    }

    public void setCardtype(int cardtype) {
        this.cardtype = cardtype;
    }

    @Override
    public String toString() {
        return truename +"\n"+phonenum;
    }
}